<div class="box create rounded">

	<h3>User Details</h3>

</div>

<br />

<?php if (isset($records) && is_array($records) && count($records)) : ?>
				
	<table>
		<thead>
		
			
		<th>Student Id</th>
		<th>Achievement Points -Time-</th>
		<th>Achievement Points -Class-</th>
		<th>Achievement Points -Wiki-</th>
		<th>Achievement Points -Forum-</th>
		<th>Achievement Points -Main-</th>
		<th>Achievement Points -Side-</th>
		<th>Achievement Points -Meta-</th>
		<th>Student Photo</th>
		<th>Student Header</th>
		<th>Student Css</th>
		<th>Student Assetpath</th>
		<th>Student Ownpath</th>
		<th>Current Css</th>
		
		</thead>
		<tbody>
		
		<?php foreach ($records as $record) : ?>
			<?php $record = (array)$record;?>
			<tr>
			<?php foreach($record as $field => $value) : ?>
				
				<?php if ($field != 'id') : ?>
					<td><?php echo ($field == 'deleted') ? (($value > 0) ? lang('user_details_true') : lang('user_details_false')) : $value; ?></td>
				<?php endif; ?>
				
			<?php endforeach; ?>

			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>
<?php endif; ?>